package com.kim.nidoya.net.business;

import com.kim.nidoya.net.business.NetCallbackImplBase.Notify;
import com.kim.nidoya.net.entity.RegisterEntity;

public class RegisterBusiness extends BusinessBase {
	private String verifyCode;
	private String trueName;
	private String password;
	private String recommendNum;
	private String email;
	private String userlevel;
	private String phoneNum;

	public RegisterBusiness(Notify notify, String _verifyCode,
			String _trueName, String _password, String _recommendNum,
			String _email, String _userlevel, String _phoneNum) {
		super(notify);
		this.verifyCode = _verifyCode;
		this.trueName = _trueName;
		this.password = _password;
		this.recommendNum = _recommendNum;
		this.email = _email;
		this.userlevel = _userlevel;
		this.phoneNum = _phoneNum;
		
		prepare();
	}

	public RegisterBusiness(Notify notify) {
		super(notify);
	}

	@Override
	public void prepare() {
		this.netEntity = new RegisterEntity(verifyCode, trueName, password,
				recommendNum, email, userlevel, phoneNum);
	}

}
